<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <meta name="description" content=""/>
    <meta name="author" content="" />
    <title>汽车购票系统——用户主页面</title>

    <link th:href="@{/css/index.css}" rel="stylesheet"/>
    <link th:href="@{/css/reset.css}" rel="stylesheet"/>
    <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>

</head>
<body style="background: #F0F8FF">
<!-- -----头 部----- -->
<header>
    <div class="contain">
        <div class="headlt">
            <a th:href="@{/customer/index}"><img th:src="@{/image/logo.png}"></a>
        </div>
        <div class="headrg">
            <ul>
                <li><a  th:text="${customer.nick_name}">昵称</a>
                    <ul>
                        <li><a th:href="@{/customer/query(id=${customer.id})}">我的信息</a></li>
                        <li><a th:href="@{/order/index(id=${customer.id})}">我的订单</a></li>
                    </ul>
                </li>
                <li><a th:href="@{/publiz/index}">注销</a></li>
            </ul>
        </div>
    </div>
</header>
<!-- -----导 航----- -->
<nav>
    <div class="contain_nav">
        <ul>
            <li><a th:href="@{/customer/index}" class="actives">首页</a></li>
            <li><a th:href="@{/order/index(id=${customer.id})}">改签</a></li>
            <li><a th:href="@{/order/index(id=${customer.id})}">退签</a></li>
            <li><a href="">攻略</a></li>
            <li><a href="">景点门票</a></li>
            <li><a href="">旅客问答</a></li>
        </ul>
    </div>
</nav>
<!-- -----轮 播----- -->
<div class="banner" id="banner">
    <div class="imgbox" id="lists" style="left: -1170px;">
        <img th:src="@{/image/拙政园.jpg}">
        <img th:src="@{/image/长隆.jpg}">
        <img th:src="@{/image/总统府.jpg}">
        <img th:src="@{/image/枕水.jpg}">
        <img th:src="@{/image/普陀山.jpg}">
        <img th:src="@{/image/拙政园.jpg}">
        <img th:src="@{/image/长隆.jpg}">
    </div>
    <div class="imgbtns" id="imgbtns">
        <span index="1" class="on"></span>
        <span index="2"></span>
        <span index="3"></span>
        <span index="4"></span>
        <span index="5"></span>
    </div>
    <div class="prev" id="prev">&lt;</div>
    <div class="next" id="next">&gt;</div>
</div>
<!-- -----信 息----- -->
<div class="information">
    <div class="query">
        <form class="form-signin form-inline" th:action="@{/ticket/query}" method="get" >
            <h2>车票查询</h2>
            <label>出发城市：<input type="text" name="starting_station" class="form-control" required autofocus placeholder="请输入中文" /></label>
            <label>到达城市：<input type="text" name="destination" class="form-control" required  placeholder="请输入中文"/></label>
            <button type="submit" class="btn btn-primary btn-block"><a href="#">查询</a></button>
        </form>
    </div>
    <p class="p1">世界那么大</p>
    <p class="p2">我想陪你一起看看</p>
</div>
<!-- -----公 告----- -->
<div class="notice">
    <div class="notice_left">
        <h2>公告</h2>
        <div th:if="${error != null}" class="notice_null">
           <p>暂无公告</p>
        </div>
        <div th:if="${notice != null}">
            <div class="notice_leftcon" th:each="item:${notice}">
                    <p><a th:text="${item.content}">公告</a></p>
             </div>
            <p class="more"><a>更多&gt;&gt;</a></p>
        </div>

    </div>
    <div class="notice_right">
        <div class="notice_rightcon">
            <img th:src="@{/image/erwei.jpg}">
        </div>
        <div class="right_text">
            <p>打开微信扫一扫</p>
            <p>新用户可享受<span>8.8</span>折优惠购票</p>
        </div>
    </div>
</div>
<!-- -----服 务----- -->
<div class="service">
    <div class="service_con">
        <div class="service01">
            <img th:src="@{/image/fuwu.png}">
            <p>7X24小时服务</p>
        </div>
        <div class="service02">
            <img th:src="@{/image/chupiao.png}">
            <p>第一时间出票</p>
        </div>
        <div class="service03">
            <img th:src="@{/image/zhifu.png}">
            <p>安全支付</p>
        </div>
        <div class="service04">
            <img th:src="@{/image/shouhou.png}">
            <p>无忧售后保障</p>
        </div>
    </div>
</div>
<footer>
    <div class="foot">
        <ul>
            <li><a href="">网站地图</a></li>
            <li><a href="">关于我们</a></li>
            <li><a href="">联系我们</a></li>
        </ul>
        <ul>
            <li><a href="">合作企业</a></li>
            <li><a href="">法律声明</a></li>
            <li><a href="">隐私政策</a></li>
        </ul>
        <ul>
            <li><a href="">帮助中心</a></li>
            <li><a href="">在线提问</a></li>
            <li><a href="">问题反馈</a></li>
        </ul>
        <div class="foot_right">
            <p class="tel">400-488-6666</p>
            <p class="online">在线客服</p>
        </div>
    </div>
    <div class="copyright">&copy;2018-11  CYL版权所有</div>
</footer>
<script th:src="@{/js/tourist.js}"></script>
</body>
</html>
